package com.ashbur.lottery.domain.strategy.service.draw;

import com.ashbur.lottery.domain.strategy.model.req.DrawReq;
import com.ashbur.lottery.domain.strategy.model.res.DrawResult;

/**
 * @author : Eumenides
 * @Description :抽奖执行接口
 * @date : 2022/8/18
 * @Copyright ：公众号：菜鸟的大厂梦
 */
public interface IDrawExec {
    /**
     * 抽奖方法
     * @param req 抽奖参数；用户ID、策略ID
     * @return    中奖结果
     */
    DrawResult doDrawExec(DrawReq req);
}
